package admin

import (
	auto "__APP_NAME__/app/v2doc/__DIR__/auto/controller"
	"beergo/app/v2doc/__DIR__/conf"
	"github.com/beego/beego/v2/server/web"
)

type __MODEL_NAME__AdminController struct {
	auto.__MODEL_NAME__Controller
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/__MODEL_NAME__/:id", 		&__MODEL_NAME__AdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/__MODEL_NAME__/list", 	    &__MODEL_NAME__AdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/__MODEL_NAME__/create", 	    &__MODEL_NAME__AdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/__MODEL_NAME__/update", 	    &__MODEL_NAME__AdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/__MODEL_NAME__/put", 	    &__MODEL_NAME__AdminController{}, "*:PutAction")
	web.Router(conf.UrlPrefixAdmin + "/__MODEL_NAME__/copy", 	    &__MODEL_NAME__AdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/__MODEL_NAME__/delete", 	    &__MODEL_NAME__AdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/__MODEL_NAME__/choice",      &__MODEL_NAME__AdminController{}, "*:ChoiceAction")
}
//func (this *__MODEL_NAME__AdminController) Prepare() {}
//func (this *__MODEL_NAME__AdminController) ListAction() {}
//func (this *__MODEL_NAME__AdminController) GetAction() {}
//func (this *__MODEL_NAME__AdminController) CreateAction() {}
//func (this *__MODEL_NAME__AdminController) UpdateAction() {}
//func (this *__MODEL_NAME__AdminController) PutAction() {}
//func (this *__MODEL_NAME__AdminController) CopyAction() {}
//func (this *__MODEL_NAME__AdminController) DeleteAction() {}
//func (this *__MODEL_NAME__AdminController) ChoiceAction() {}
